part of 'page.dart';

class _MenuPageWlocState extends Equatable {
  const _MenuPageWlocState({
    required this.user,
    required this.anyPurchaseActionReasonable,
    required this.purchasePageOpeningActionReasonable,
    required this.subscriptionManagementActionReasonable,
    required this.purchaseRestorationActionReasonable,
    required this.paymentThroughWebsiteActionReasonable,
    required this.iosPaymentBySimCardPageOpeningActionReasonable,
    required this.accountDeletionActionReasonable,
    required this.availableEmailApps,
  });

  final User? user;
  final bool anyPurchaseActionReasonable;
  final bool purchasePageOpeningActionReasonable;
  final bool subscriptionManagementActionReasonable;
  final bool purchaseRestorationActionReasonable;
  final bool paymentThroughWebsiteActionReasonable;
  final bool iosPaymentBySimCardPageOpeningActionReasonable;
  final bool accountDeletionActionReasonable;
  final BuiltList<EmailApp> availableEmailApps;

  @override
  List<Object?> get props {
    return [
      user,
      anyPurchaseActionReasonable,
      purchasePageOpeningActionReasonable,
      subscriptionManagementActionReasonable,
      purchaseRestorationActionReasonable,
      paymentThroughWebsiteActionReasonable,
      iosPaymentBySimCardPageOpeningActionReasonable,
      accountDeletionActionReasonable,
      availableEmailApps,
    ];
  }
}
